<div class="card">
    <div class="card-header bg-primary text-white">
    </div>
    <div class="card-body">
        <div class="mb-3">
            <form action="" method="GET">
            <label>起止时间：</label>
            <input type="date" class="form-control d-inline-block w-auto" name="start_date" value="{{ old('start_date', request()->input('start_date')) }}"/>
            <span> - </span>
            <input type="date" class="form-control d-inline-block w-auto" name="end_date" value="{{ old('end_date', request()->input('end_date')) }}"/>
            <button class="btn btn-primary">搜索</button>
            <button class="btn btn-secondary" onclick="window.location.href=''">刷新</button>
            </form>
        </div>
        <div class="row">
            <div class="row">

                <div class="col-md-6">
                    <div class="border p-3 mb-3">
                        <h5>平台（未提现）金额</h5>
                        <p>用户（未提现）总金额（元）：<b>{{ $data['withdrawUndo']['commission'] }}</b></p>
                        <p>邀请奖励（未提现）总金额（元）：<b>{{ $data['withdrawUndo']['reward'] }}</b></p>
                        <p>累计（未提现）总金额（元）：<b>{{ round($data['withdrawUndo']['commission'] + $data['withdrawUndo']['reward'],2) }}</b></p>
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="border p-3 mb-3">
                        <h5>（发起提现）金额</h5>
                        <p>用户（发起提现）总金额（元）：<b>{{ round($data['withdrawWait']['commission'] + $data['withdrawSuccess']['commission'],2) }}</b></p>
                        <p>邀请奖励（发起提现）总金额（元）：<b>{{ round($data['withdrawWait']['reward'] + $data['withdrawSuccess']['reward'],2) }}</b></p>
                        <p>累计（发起提现）总金额（元）：<b>{{ round($data['withdrawWait']['commission'] + $data['withdrawWait']['reward'] + $data['withdrawSuccess']['commission'] + $data['withdrawSuccess']['reward'],2) }}</b></p>
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="border p-3 mb-3">
                        <h5>已提现（待审核）金额</h5>
                        <p>用户（待审核）总金额（元）：<b>{{ $data['withdrawWait']['commission'] }}</b></p>
                        <p>邀请奖励（待审核）总金额（元）：<b>{{ $data['withdrawWait']['reward'] }}</b></p>
                        <p>累计（待审核）总金额（元）：<b>{{ round($data['withdrawWait']['commission'] + $data['withdrawWait']['reward'],2) }}</b></p>
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="border p-3 mb-3">
                        <h5>提现（已到账）金额</h5>
                        <p>用户（已到账）总金额（元）：<b>{{ $data['withdrawSuccess']['commission'] }}</b></p>
                        <p>邀请奖励（已到账）总金额（元）：<b>{{ $data['withdrawSuccess']['reward'] }}</b></p>
                        <p>累计（已到账）总金额（元）：<b>{{ round($data['withdrawSuccess']['commission'] + $data['withdrawSuccess']['reward'],2) }}</b></p>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
